//
//  MeTableViewCell.m
//  TravelDiary
//
//  Created by lanou3g on 15/11/18.
//  Copyright © 2015年 YDB MAC. All rights reserved.
//

#import "MeTableViewCell.h"

@implementation MeTableViewCell

- (void)awakeFromNib {
    self.switchMe.hidden = YES;
    
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

#pragma mark --夜间模式调整
- (IBAction)Switch:(UISwitch *)sender {
    
    if ([sender isOn]){
        self.window.alpha = 0.4;
    } else {
        self.window.alpha =1;
        
    }
}
@end
